home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / oki840us.ppd < prev    next >
Encoding:
PostScript Printer Description  |  2003-02-21  |  12.7 KB  |  377 lines

  1. *PPD-Adobe: "4.1"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% Copyright 1987-1992 Adobe Systems Incorporated. 
  4. *% All Rights Reserved. 
  5. *% Permission is granted for redistribution of this file as
  6. *% long as this copyright notice is intact and the contents
  7. *% of the file is not altered in any way from its original form.
  8. *% End of Copyright statement
  9. *FormatVersion: "4.1"
  10. *FileVersion: "2.1"
  11. *LanguageEncoding: ISOLatin1
  12. *LanguageVersion: English
  13. *PCFileName: "OKI840US.PPD"
  14. *Product: "(OL840)"
  15. *PSVersion: "(51.8) 0"
  16. *ModelName: "Oki OL840-PS"
  17. *ShortNickName: "Okidata OL840 PostScript"
  18. *NickName: "Okidata OL840 PostScript"
  19.  
  20. *% General Information and Defaults ===============
  21. *FreeVM: "443880"
  22. *LanguageLevel: "1"
  23. *ColorDevice: False
  24. *DefaultColorSpace: Gray
  25. *VariablePaperSize: False
  26. *FileSystem: False
  27. *Throughput: "8"
  28. *Password: "0"
  29. *ExitServer: "
  30.   count 0 eq {  % is the password on the stack?
  31.     true
  32.   }{
  33.     dup    % potential password
  34.     statusdict /checkpassword get exec not
  35.   } ifelse
  36.   {  %  if no password or not valid
  37.     (WARNING : Cannot perform the exitserver command.) =
  38.     (Password supplied is not valid.) =
  39.     (Please contact the author of this software.) = flush
  40.     quit
  41.   } if
  42.   serverdict /exitserver get exec
  43. "
  44. *End
  45.  
  46. *Reset: "
  47.   count 0 eq {  % is the password on the stack?
  48.     true
  49.   }{
  50.     dup    % potential password
  51.     statusdict /checkpassword get exec not
  52.   } ifelse
  53.   {  %  if no password or not valid
  54.     (WARNING : Cannot reset printer.) =
  55.     (Password supplied is not valid.) =
  56.     (Please contact the author of this software.) = flush
  57.     quit
  58.   } if
  59.   serverdict /exitserver get exec
  60.   systemdict /quit get exec
  61.   (WARNING : Printer Reset Failed.) = flush
  62. "
  63. *End
  64.  
  65. *DefaultResolution: 300dpi
  66. *?Resolution: "
  67. save
  68.   initgraphics
  69.   0 0 moveto currentpoint matrix defaultmatrix transform
  70.   0 72 lineto currentpoint matrix defaultmatrix transform
  71.   3 -1 roll sub dup mul
  72.   3 1 roll exch sub dup mul
  73.   add sqrt round cvi
  74.   (          ) cvs print (dpi) = flush
  75. restore
  76. "
  77. *End
  78.  
  79. *% Halftone Information ===============
  80. *ScreenFreq: "60.0"
  81. *ScreenAngle: "45.0"
  82. *DefaultScreenProc: Dot
  83. *ScreenProc Dot: "
  84. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  85. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  86. "
  87. *End
  88. *ScreenProc Line: "{ pop }"
  89. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  90.  
  91. *DefaultTransfer: Null
  92. *Transfer Null: "{ }"
  93. *Transfer Null.Inverse: "{ 1 exch sub }"
  94.  
  95. *% Paper Handling ===================
  96. *% Use these entries to set paper size most of the time, unless there is
  97. *% specific reason to use PageRegion.
  98. *OpenUI *PageSize: PickOne
  99. *OrderDependency: 30 AnySetup *PageSize
  100. *DefaultPageSize: Letter
  101. *PageSize Letter: "statusdict /lettertray get exec"
  102. *PageSize Legal: "statusdict /legaltray get exec"
  103. *PageSize Executive: "statusdict /executivetray get exec"
  104. *PageSize A4: "statusdict /a4tray get exec"
  105. *PageSize A5: "statusdict /a5tray get exec"
  106. *PageSize B5: "statusdict /b5tray get exec"
  107. *PageSize Envelope.297.684/Comm #10 Envelope:"statusdict /com10tray get exec"
  108. *PageSize Envelope.312.624/DL Envelope:"statusdict /dltray get exec"
  109. *PageSize Envelope.459.649/C5 Envelope:"statusdict /c5tray get exec"
  110. *PageSize Envelope.279.540/Monarch Envelope:"statusdict /monarchtray get exec"
  111. *?PageSize: "
  112. save
  113. 10 dict
  114.  dup /letter (Letter) put
  115.  dup /legal (Legal) put
  116.  dup /executivepage (Executive) put
  117.  dup /a4 (A4) put
  118.  dup /a5 (A5) put
  119.  dup /b5 (B5) put
  120.  dup /com10 (Envelope.297.684) put
  121.  dup /dl (Envelope.312.624) put
  122.  dup /c5 (Envelope.459.649) put
  123.  dup /monarch (Envelope.279.540) put
  124.  statusdict /papersize get exec
  125.  3 1 roll  {get} stopped {(Unknown)}if
  126.  exch  not { print (.Transverse) }if
  127.  = flush
  128. restore
  129. "
  130. *End
  131. *CloseUI: *PageSize
  132.  
  133. *% These entries will set up the frame buffer. Usually used with manual feed.
  134. *OpenUI *PageRegion: PickOne
  135. *OrderDependency: 40 AnySetup *PageRegion
  136. *DefaultPageRegion: A4
  137. *PageRegion Letter: "letter"
  138. *PageRegion Legal: "legal"
  139. *PageRegion Executive: "executivepage"
  140. *PageRegion A4: "a4"
  141. *PageRegion A5: "a5"
  142. *PageRegion B5: "b5"
  143. *PageRegion Envelope.297.684/Comm #10 Envelope: "com10"
  144. *PageRegion Envelope.312.624/DL Envelope: "dl"
  145. *PageRegion Envelope.459.649/C5 Envelope: "c5"
  146. *PageRegion Envelope.279.540/Monarch Envelope: "monarch"
  147. *CloseUI: *PageRegion
  148.  
  149. *% The following entries provide information about specific paper keywords.
  150. *DefaultImageableArea: A4
  151. *ImageableArea Letter: "8 8 606 776 "
  152. *ImageableArea Legal: "8 8 606 992 "
  153. *ImageableArea Executive: "8 8 513 743"
  154. *ImageableArea A4: "8 8 586 826 "
  155. *ImageableArea A5: "8 8 410 579 "
  156. *ImageableArea B5: "8 8 506 713 "
  157. *ImageableArea Envelope.297.684/Comm #10 Envelope: "7 10 290 674"
  158. *ImageableArea Envelope.279.540/Monarch Envelope: "7 10 272 530"
  159. *ImageableArea Envelope.312.624/DL Envelope: "8 11 305 614"
  160. *ImageableArea Envelope.459.649/C5 Envelope: "7 10 452 639"
  161. *?ImageableArea: "
  162. save
  163.   /cvp {(                ) cvs print ( ) print } bind def
  164.   /upperright {10000 mul floor 10000 div} bind def
  165.   /lowerleft {10000 mul ceiling 10000 div} bind def
  166.   newpath clippath pathbbox
  167.   4 -2 roll exch 2 {lowerleft cvp} repeat
  168.   exch 2 {upperright cvp} repeat flush
  169.  restore
  170. "
  171. *End
  172.  
  173. *% These provide the physical dimensions of the paper (by keyword)
  174. *DefaultPaperDimension: A4
  175. *PaperDimension Letter: "612 792"
  176. *PaperDimension Legal: "612 1008"
  177. *PaperDimension Executive: "522 756"
  178. *PaperDimension A4: "595 842"
  179. *PaperDimension A5: "420 595"
  180. *PaperDimension B5: "516 729"
  181. *PaperDimension Envelope.297.684/Comm #10 Envelope:"297 684"
  182. *PaperDimension Envelope.312.624/DL Envelope:"312 624"
  183. *PaperDimension Envelope.459.649/C5 Envelope:"459 649"
  184. *PaperDimension Envelope.279.540/Monarch Envelope:"279 540"
  185.  
  186. *RequiresPageRegion All: True
  187. *OpenUI *InputSlot: PickOne
  188. *OrderDependency: 20 AnySetup *InputSlot
  189. *DefaultInputSlot: Upper
  190. *InputSlot Upper: "0 statusdict /setpapertray get exec"
  191. *InputSlot Lower: "1 statusdict /setpapertray get exec"
  192. *?InputSlot: "
  193. save
  194.   [ (Upper) (Lower) ] statusdict /papertray get exec
  195.   {get exec} stopped { pop pop (Unknown)} if = flush
  196. restore
  197. "
  198. *End
  199. *CloseUI: *InputSlot
  200.  
  201. *OpenUI *ManualFeed: Boolean
  202. *OrderDependency: 20 AnySetup *ManualFeed
  203. *DefaultManualFeed: False
  204. *ManualFeed True: "statusdict /manualfeed true put"
  205. *ManualFeed False: "statusdict /manualfeed false put"
  206. *?ManualFeed: "
  207. save
  208.   statusdict /manualfeed get {(True)}{(False)}ifelse = flush
  209. restore
  210. "
  211. *End
  212. *CloseUI: *ManualFeed
  213.  
  214. *DefaultOutputOrder: Normal
  215.  
  216. *% Font Information =====================
  217. *DefaultFont: Courier
  218. *Font AvantGarde-BookOblique: Standard "(001.002)" Standard ROM
  219. *Font AvantGarde-Demi: Standard "(001.003)" Standard ROM
  220. *Font AvantGarde-DemiOblique: Standard "(001.003)" Standard ROM
  221. *Font Bookman-Demi: Standard "(001.001)" Standard ROM
  222. *Font Bookman-DemiItalic: Standard "(001.001)" Standard ROM
  223. *Font Bookman-Light: Standard "(001.001)" Standard ROM
  224. *Font Bookman-LightItalic: Standard "(001.001)" Standard ROM
  225. *Font Courier: Standard "(001.004)" Standard ROM
  226. *Font Courier-Bold: Standard "(001.004)" Standard ROM
  227. *Font Courier-BoldOblique: Standard "(001.004)" Standard ROM
  228. *Font Courier-Oblique: Standard "(001.004)" Standard ROM
  229. *Font Helvetica: Standard "(001.002)" Standard ROM
  230. *Font Helvetica-Bold: Standard "(001.002)" Standard ROM
  231. *Font Helvetica-BoldOblique: Standard "(001.002)" Standard ROM
  232. *Font Helvetica-Narrow: Standard "(001.002)" Standard ROM
  233. *Font Helvetica-Narrow-Bold: Standard "(001.002)" Standard ROM
  234. *Font Helvetica-Narrow-BoldOblique: Standard "(001.002)" Standard ROM
  235. *Font Helvetica-Narrow-Oblique: Standard "(001.002)" Standard ROM
  236. *Font Helvetica-Oblique: Standard "(001.002)" Standard ROM
  237. *Font NewCenturySchlbk-Bold: Standard "(001.006)" Standard ROM
  238. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)" Standard ROM
  239. *Font NewCenturySchlbk-Italic: Standard "(001.003)" Standard ROM
  240. *Font NewCenturySchlbk-Roman: Standard "(001.004)" Standard ROM
  241. *Font Palatino-Bold: Standard "(001.002)" Standard ROM
  242. *Font Palatino-BoldItalic: Standard "(001.002)" Standard ROM
  243. *Font Palatino-Italic: Standard "(001.002)" Standard ROM
  244. *Font Palatino-Roman: Standard "(001.001)" Standard ROM
  245. *Font Symbol: Special "(001.003)" Special ROM
  246. *Font Times-Bold: Standard "(001.002)" Standard ROM
  247. *Font Times-BoldItalic: Standard "(001.004)" Standard ROM
  248. *Font Times-Italic: Standard "(001.002)" Standard ROM
  249. *Font Times-Roman: Standard "(001.002)" Standard ROM
  250. *Font ZapfChancery-MediumItalic: Standard "(001.003)" Standard ROM
  251. *Font ZapfDingbats: Special "(001.002)" Special ROM
  252. *?FontQuery: "
  253. save
  254.  /str 100 string dup 0 (fonts/) putinterval def
  255.  {
  256.    count 1 gt
  257.    {
  258.      exch dup str 6 94 getinterval cvs
  259.      (/) print print (:) print
  260.      FontDirectory exch known
  261.      {(Yes)}{(No)} ifelse =
  262.    }
  263.    {exit} ifelse
  264.  }bind loop
  265.  (*) = flush
  266. restore
  267. "
  268. *End
  269.  
  270. *?FontList: "
  271. save
  272.   FontDirectory { pop == } bind forall flush
  273.   /filenameforall where
  274.   {
  275.     pop (fonts/*)
  276.     { dup length 6 sub 6 exch getinterval cvn == } bind
  277.     128 string filenameforall flush
  278.   } if
  279.   (*) = flush
  280. restore
  281. "
  282. *End
  283.  
  284. *% Printer Messages (verbatim from printer):
  285.  
  286. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  287. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  288. *Message: "\FontName\ not found, using Courier"
  289.  
  290. *% Status (format: %%[ status: <one of these> ]%% )
  291. *Status: "idle"
  292. *Status: "busy"
  293. *Status: "waiting"
  294. *Status: "printing"
  295. *Status: "warming up"
  296.  
  297. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  298. *Source: "serial9"
  299. *Source: "serial25"
  300. *Source: "AppleTalk"
  301. *Source: "Centronics"
  302.  
  303. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  304. *PrinterError: "ERROR ENGINE"
  305. *PrinterError: "ERROR ENGINE FAN"
  306. *PrinterError: "ERROR ENGINE FUSER"
  307. *PrinterError: "ERROR OPTION RAM"
  308. *PrinterError: "ERROR RESIDENT RAM"
  309. *PrinterError: "ERROR EEPROM"
  310. *PrinterError: "ERROR PROGRAM ROM"
  311. *PrinterError: "COVER OPEN"
  312. *PrinterError: "PAPER JAM TRAY1"
  313. *PrinterError: "PAPER JAM TRAY2"
  314. *PrinterError: "PAPER FEED JAM TRAY1"
  315. *PrinterError: "PAPER FEED JAM TRAY2"
  316. *PrinterError: "PAPER OUT TRAY1"
  317. *PrinterError: "PAPER OUT TRAY2"
  318. *PrinterError: "FUSER LIFE"
  319. *PrinterError: "DRUM LIFE"
  320. *PrinterError: "TONER LOW"
  321. *PrinterError: "Image is too light"
  322. *PrinterError: "Image is too dark"
  323. *PrinterError: "Blank page"
  324. *PrinterError: "Full black image"
  325. *PrinterError: "Stains on paper"
  326. *PrinterError: "Cyclic abnormality"
  327. *PrinterError: "Dark vertical lines"
  328. *PrinterError: "White vertical lines"
  329. *PrinterError: "Dirty back ground"
  330.  
  331. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  332.  
  333. *% Color Separation Information =====================
  334.  
  335. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  336.  
  337. *InkName: ProcessBlack/Process Black
  338. *InkName: CustomColor/Custom Color
  339. *InkName: ProcessCyan/Process Cyan
  340. *InkName: ProcessMagenta/Process Magenta
  341. *InkName: ProcessYellow/Process Yellow
  342.  
  343. *% For 60 lpi / 300 dpi  ===============================
  344.  
  345. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  346. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  347. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  348. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  349. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  350.  
  351. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  352. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  353. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  354. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  355. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  356.  
  357. *%  For 53 lpi / 300 dpi  ===============================
  358.  
  359. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  360. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  361. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  362. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  363. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  364.  
  365. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  366. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  367. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  368. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  369. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  370.  
  371. *% For "OL840" version 51.8
  372. *% Produced by "BuildPPD.ps" version 3.0 edit 58
  373. *% Converted to meet 4.1 specification
  374. *% Last Edit Date: 9 Mar 1994
  375. *% The byte count of this file should be exactly 13030
  376. *% End of PPD file for OL840
  377.